package com.mg.common.exception;


import lombok.NoArgsConstructor;

/**
 * 所有service层自定义异常的父类
 * @author tomyeung-李尐达
 */
@NoArgsConstructor
public class ServiceException extends BaseException{
    public ServiceException(MGExceptionEnum enu) {
        super(enu);
    }

    public ServiceException(Integer code, String msg) {
        super(code, msg);
    }
}
